export class ToSummary{
    id: number;
    title: string;
    completed: boolean;
    star: number
    constructor(todo:any){
        this.id=todo.is;
        this.title=todo.title;
        this.completed=todo.completed;
        this.star=todo.start;
    }
}